const boilingCooling = [
  {
    id: 1,
    name: '豆腐皮',
    principal: '张三',
    place: '车间A',
    weight: '100',
    quality: '合格',
    date: '2022-01-01',
  },
  {
    id: 2,
    name: '粉丝',
    principal: '李四',
    place: '车间B',
    weight: '50',
    quality: '合格',
    date: '2022-01-02',
  },
  {
    id: 3,
    name: '虾仁',
    principal: '王五',
    place: '车间A',
    weight: '200',
    quality: '合格',
    date: '2022-01-03',
  },
  {
    id: 4,
    name: '鸡胸肉',
    principal: '赵六',
    place: '车间B',
    weight: '150',
    quality: '合格',
    date: '2022-01-04',
  },
  {
    id: 5,
    name: '海带结',
    principal: '刘七',
    place: '车间A',
    weight: '50',
    quality: '合格',
    date: '2022-01-05',
  },
  {
    id: 6,
    name: '蔬菜丸子',
    principal: '张三',
    place: '车间A',
    weight: '150',
    quality: '合格',
    date: '2022-01-07',
  },
];

export default {
  'GET /api/boilingCooling': (req: any, res: any) => {
    res.json({
      success: true,
      data: { boilingCooling },
      errorCode: 0,
    });
  },
};
